//
//  ShowImagesView.h
//  MobileMedical
//
//  Created by yuntai on 2017/8/9.
//  Copyright © 2017年 unionx. All rights reserved.
//

@class ShowImagesView;
@protocol ShowImagesViewDelegate <NSObject>
@optional
- (void)leftShowImagesView:(ShowImagesView *)view ;
- (void)midShowImagesView:(ShowImagesView *)view ;
@end

#import <UIKit/UIKit.h>

typedef void(^singleTap) (void);
@interface ShowImagesView : UIView
/**
 *  图片路径
 */
@property (nonatomic , strong) NSArray * imagesPath;
@property (nonatomic , assign) NSInteger currentIndex;
/**点击的view 用到frame*/
@property (nonatomic , strong) UIView * selectView;
@property (nonatomic, strong) UILabel *countlabel;
    @property (nonatomic, weak) id<ShowImagesViewDelegate> delegate;
@property (nonatomic, strong) UIButton *midBtn;

- (void)present;
- (void)dismiss;
@end



@interface ShowImageCell : UICollectionViewCell

@property (nonatomic , strong) UIImage * url;
@property (nonatomic , copy) singleTap tapBlock;

@end
